﻿<?xml version="1.0" encoding="UTF-8"?>

<!-- This template was written to work with NHibernate.Test. Copy the template to your NHibernate.
Test project folder and rename it in hibernate.cfg.xml and change it for your own use before compile tests in VisualStudio. -->

<!-- This is the ByteFX.Data.dll provider for MySql -->
<hibernate-configuration xmlns="urn:nhibernate-configuration-2.2">
  <session-factory>
    <!--<property name="connection.provider">NHibernate.Connection.DriverConnectionProvider</property>
    
    <property name="connection.driver_class">NHibernate.Driver.MySqlDataDriver</property>
    
    <property name="connection.connection_string"> Database=mydb;Data Source=sus27;User Id=dev;Password=dev11f;charset=utf8 </property>    
    
    <property name="dialect">NHibernate.Dialect.MySQLDialect</property>-->

    

    <property name="connection.driver_class">NHibernate.Driver.SQLite20Driver</property>
    <property name="connection.connection_string">
      Data Source=server.db;Version=3;UTF8Encoding=True;Foreign Keys=True;
    </property>
    <property name="dialect">NHibernate.Dialect.SQLiteDialect</property>

    <mapping assembly="monitor_2_DBwork" />
    
  </session-factory>
  
</hibernate-configuration>